package com.api.demo.dto.business.order;

import com.api.demo.dto.business.ApiDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * @description: 查询订单详情DTO
 * @author: yanming
 * @createDate: 2022/12/28 17:15
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderInfoDTO extends ApiDTO {
    @ApiModelProperty(value = "订单ID")
    @NotNull(message = "订单ID不能为空")
    private Long id;
}